package com.rocksdata.mc.ui.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;

/**
 * Created by 陈堂正 on 2017/5/12.
 */

public abstract class AbsNewsHolder<T> extends RecyclerView.ViewHolder {
    private View itemView;

    public AbsNewsHolder(View itemView) {
        super(itemView);
        this.itemView = itemView;
    }

    public View getItemView(){
        return itemView;
    }

    public abstract void bindData(T t);

}
